package com.kebabeaters.nakebab.shared.dto.samples;

import java.util.ArrayList;
import java.util.List;

import com.kebabeaters.nakebab.shared.dto.structures.Review;

public class UserReviewsDummy {

	private static List<Review> list;

	public static List<Review> getList() {
		if (list == null)
			list = createNewInstance();

		return list;
	}

	private static List<Review> createNewInstance() {

		List<Review> reviews = new ArrayList<Review>();

		reviews.add(new Review("Jan kowalski", "15.04.12", null,
				"Bardzo smaczny kebab!", 4, 2, 3, 5, 2));
		reviews.add(new Review(
				"Jan kowalski",
				"15.04.12",
				null,
				"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nec felis vestibulum dolor luctus blandit vel eu ante. Morbi posuere, dolor eu pellentesque congue, enim dui varius eros, vel condimentum sem sem ultrices felis. Donec sit amet arcu leo, non facilisis mauris. In tempor semper est, et iaculis sem consequat non. Maecenas dictum est ac quam tincidunt eget congue sem aliquet. Aenean laoreet scelerisque leo, id tincidunt nisl pulvinar sit amet. Cras vulputate, lorem sit amet porta laoreet, mauris lectus venenatis velit, sed pellentesque odio tellus in arcu. Sed eleifend luctus ante, nec aliquet odio laoreet eget. Sed sem purus, convallis et adipiscing eget, egestas sit amet purus. Cras quis feugiat nibh.",
				5, 2, 5, 5, 5));
		reviews.add(new Review("Jan kowalski", "15.04.12", null, "OK", 5, 1, 3,
				3, 2));
		return reviews;
	}
}
